package com.liner.mapper;

import com.liner.entity.OrderMaster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author liner
 * @since 2022-12-03
 */
public interface OrderMasterMapper extends BaseMapper<OrderMaster> {
    Boolean cancel(@Param("buyerId") Integer buyerId, @Param("orderId") String orderId);

    Boolean SellerCancel(String orderId);

    Boolean finish(String orderId);

    Boolean pay(@Param("buyerId") Integer buyerId, @Param("orderId") String orderId);


}
